﻿using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneStationFile.Model
{
    public class Users
    {
        public Users() {
            //Role = new Role();
        }
        public virtual int Id { get; set; }
        [Display(Name = "姓名")]
        public virtual string Name { get; set; }
        [Display(Name = "登录名")]
        public virtual string Account { get; set; }
        [Display(Name = "密码")]
        public virtual string Pwd { get; set; }
        [Display(Name ="角色")]
        public virtual Role Role { get; set; }
    }
    
}
